package com.zrx.app.android.fragment;

import android.annotation.SuppressLint;
import android.app.DialogFragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.widget.TextView;

import com.zrx.app.android.R;
import com.zrx.app.android.activity.StagMoneyActivity;


/**
 * Created by $HL on 2017/9/26.
 */
@SuppressLint("ValidFragment")
public class FragmentShowbackReason extends DialogFragment {
    private static final String TAG = "FragmentShowbackReason";
    private TextView reasonText;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState)
    {
        View view = inflater.inflate(R.layout.fragment_dialog, container);
        reasonText = (TextView)getActivity().findViewById(R.id.id_label_reason);
        return view;
    }

    public FragmentShowbackReason(String reason){
        reasonText.setText(String.valueOf(reason));

    }

}
